{% extends "base/content.html" %}

{% load i18n media_tags content_tags action_tags %}

{% block contentactions %}
<ul id="content-actions">
  {% get_actions "content" for content as content_actions %}
  {% for action in content_actions %}
    {% action_url action content as action_link %}
    {% if action_link %}
    <li id="action-{{ action.name }}">
    <a href="{{ action_link }}"><span>{% trans action.verbose_name %}</span></a>
    </li>
    {% endif %}
  {% endfor %}
  {% content_admin_action content %}
</ul>
{% endblock %}

{% block beforecontentbody %}
  {% block contentmedia %}
    {% media_slide content %}
  {% endblock %}

  {% block contentfiles %}
     {% media_files content %}
  {% endblock %}

  {% block contentdescription %}
    {% if content.description %}
      <div class="contentDescription">{{ content.description|safe }}</div>
    {% endif %}
  {% endblock %}

{% endblock %}
